package com.qf.day07;

public class Weapon {
    String sharpness;
    String block;
    String enduranceStrength;
    String attackSpeed;

    public String getSharpness() {
        return sharpness;
    }

    public void setSharpness(String sharpness) {
        this.sharpness = sharpness;
    }

    public String getBlock() {
        return block;
    }

    public void setBlock(String block) {
        this.block = block;
    }

    public String getEnduranceStrength() {
        return enduranceStrength;
    }

    public void setEnduranceStrength(String enduranceStrength) {
        this.enduranceStrength = enduranceStrength;
    }

    public String getAttackSpeed() {
        return attackSpeed;
    }

    public void setAttackSpeed(String attackSpeed) {
        this.attackSpeed = attackSpeed;
    }

    public Weapon() {
    }

    public Weapon(String sharpness, String block, String enduranceStrength, String attackSpeed) {
        this.sharpness = sharpness;
        this.block = block;
        this.enduranceStrength = enduranceStrength;
        this.attackSpeed = attackSpeed;
    }

    @Override
    public String toString() {
        return "武器{" +
                "锋利度='" + sharpness + '\'' +
                ", 格挡值='" + block + '\'' +
                ", 耐久='" + enduranceStrength + '\'' +
                ", 攻速='" + attackSpeed + '\'' +
                '}';
    }
}
